package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 条码接口配置对象 BARCODE_INTERFACE_CONFIG
 * 
 * @author ruoyi
 * @date 2025-03-27
 */
public class BarcodeInterfaceConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**   */
    private Long id;

    /**   */
    @Excel(name = " ")
    private Long headerId;

    /** 页面类型 */
    @Excel(name = "页面类型")
    private String pageType;

    /** 接口类型 */
    @Excel(name = "接口类型")
    private String interfaceType;

    /** 控件 */
    @Excel(name = "控件")
    private String control;

    /** 接口地址 */
    @Excel(name = "接口地址")
    private String interfaceUrl;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdDate;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifiedBy;

    /** 修改日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setHeaderId(Long headerId) 
    {
        this.headerId = headerId;
    }

    public Long getHeaderId() 
    {
        return headerId;
    }

    public void setPageType(String pageType) 
    {
        this.pageType = pageType;
    }

    public String getPageType() 
    {
        return pageType;
    }

    public void setInterfaceType(String interfaceType) 
    {
        this.interfaceType = interfaceType;
    }

    public String getInterfaceType() 
    {
        return interfaceType;
    }

    public void setControl(String control) 
    {
        this.control = control;
    }

    public String getControl() 
    {
        return control;
    }

    public void setInterfaceUrl(String interfaceUrl) 
    {
        this.interfaceUrl = interfaceUrl;
    }

    public String getInterfaceUrl() 
    {
        return interfaceUrl;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setCreatedDate(Date createdDate) 
    {
        this.createdDate = createdDate;
    }

    public Date getCreatedDate() 
    {
        return createdDate;
    }

    public void setModifiedBy(String modifiedBy) 
    {
        this.modifiedBy = modifiedBy;
    }

    public String getModifiedBy() 
    {
        return modifiedBy;
    }

    public void setModifiedDate(Date modifiedDate) 
    {
        this.modifiedDate = modifiedDate;
    }

    public Date getModifiedDate() 
    {
        return modifiedDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("headerId", getHeaderId())
            .append("pageType", getPageType())
            .append("interfaceType", getInterfaceType())
            .append("control", getControl())
            .append("interfaceUrl", getInterfaceUrl())
            .append("createdBy", getCreatedBy())
            .append("createdDate", getCreatedDate())
            .append("modifiedBy", getModifiedBy())
            .append("modifiedDate", getModifiedDate())
            .toString();
    }
}
